package com.cgt.web.dao;

import com.cgt.web.pojo.Teacher;

import java.util.List;

public interface TeaDao {

    List<Teacher> selectAll();

    void deleteById(String id);

    void addt(Teacher teacher);

    Teacher toUpdate(String id);

    void update(Teacher teacher);

    List<Teacher> selectByPage(int offset, int pageSize);

    int getTotalCount();
}
